﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;

namespace MeuFreeCell
{
    public class Carta : Control
    {
        private byte valor;
        private Point posicaoAnterior;

        public Point PosicaoAnterior
        {
            get { return posicaoAnterior; }
            set { posicaoAnterior = value; }
        }

        public byte Valor
        {
            get { return valor; }
            set { valor = value; }
        }
                

        private void InitializeComponent()
        {
            this.SuspendLayout();
            // 
            // Carta
            // 
            this.Paint += new System.Windows.Forms.PaintEventHandler(this.Carta_Paint);
            this.ResumeLayout(false);

        }

        public Carta(byte valor)
        {
 
        }

        private void Carta_Paint(object sender, PaintEventArgs e)
        {
           // Jogo.cdtDraw(e.Graphics.GetHdc(), 0, 0, ((Jogo.Card)sender).CardValue, 0, 0);

        }
    }
}
